<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
		<title>小鱼ADMIN</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="stylesheet" href="/public/static/css/font.css">
		<link rel="stylesheet" href="/public/static/css/bgadmin.css">
		<script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
		<script type="text/javascript" src="/public/static/lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="/public/static/js/bgadmin.js"></script>
		<script type="text/javascript" src="/public/static/js/jquery.form.js"></script>  
    </head>
    
    <body>
        <div class="bg-body">
            <form  action="#" method="post" id="mainForm" class="layui-form">
			    <input type="hidden" name="customer_code" value="{$customer_code}">
                <div class="layui-form-item">
                    <div class="layui-inline">
						<label class="layui-form-label">
							<span class="bg-red">*&nbsp;&nbsp;</span>姓名：
						</label>
						<div class="layui-input-inline">
							<select name="username"  lay-verify="required" id="username">
							    <option value="">请选择</option>
							    {$options}
							</select>
						</div>
					</div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">
                            转交备注：
                        </label>
                        <div class="layui-input-inline">
                            <textarea class="layui-textarea" name="transfer_note" id="transfer_note" cols="60" rows="3" style="resize:none;"></textarea>
                        </div>
                    </div>
					<div class="layui-inline">
						<label class="layui-form-label"></label>
						<div class="layui-input-inline">
            				{if condition="($username eq 'admin') OR ($priv['transf'] eq 'Y')"}
							<a class="layui-btn" lay-submit=""  id="save" lay-filter="save">转交</a>
							{/if}
						</div>
					</div>
			    </div>
                <!-- <div class="layui-form-item">
                </div> -->
            </form>
        </div>
    </body>
	<script type="text/javascript" src="/public/static/crm/js/customer/transferCustomer.js"></script>
</html>